package com.open.capacity.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessData {
    private Long    busiid;	//商家ID
    private String  buname;	//商家姓名
    private String  bemail;	//商家邮箱
    private String  bphone;	//商家电话
    private String  buhead;	//商家头像
    private String  adress;	//商家地址
    private String  number;	//账号
    private String  passwd;	//密码
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:MM:ss")
    @JsonFormat(pattern = "yyyy-MM-dd hh:MM:ss")
    private Date    crtime;	//注册时间
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:MM:ss")
    @JsonFormat(pattern = "yyyy-MM-dd hh:MM:ss")
    private Date    uptime;	//修改个人信息时间
    private Integer enable;	//启用状态 0表示注销 1表示正常
}
